<?php
    session_start();
	/*include("class.Conexion.php");
	
    $conexion = new Conexion(); 
    $l2 = $conexion->Conectarse();        
	$s2 = "INSERT INTO bitacora VALUES (NULL,'".date("Y-m-d  g:i:s a", time()+1*60*60)."','";
	$s2 .= $_SESSION['usuario']."','".ObtenerIP()."','usuario','Finalizo Sesion','-')";	   	   	   	 	   
    $q2 = mysql_query($s2, $l2); 
	mysql_close($l2);*/
	session_unset();
	session_destroy();	 
    echo "<SCRIPT language=\"JavaScript\"> 
			<!-- 
				window.location=\"index.php\"; 
			//--> 
			</SCRIPT>"; 
?>
 